package com.yj.timecapsule.service.diaries;

import com.yj.timecapsule.common.response.PageResponse;
import com.yj.timecapsule.entity.diaries.Diaries;
import com.yj.timecapsule.entity.diaries.dto.DiariesDto;
import com.yj.timecapsule.entity.diaries.dto.DiariesQueryDto;
import com.yj.timecapsule.entity.diaries.vo.DiariesDetailVo;
import com.yj.timecapsule.entity.diaries.vo.DiariesVo;

import java.util.List;

public interface DiariesService {
    PageResponse<DiariesVo> load(DiariesQueryDto dto);

    DiariesDetailVo getDetail(Long id);

    void publication(DiariesDto dto);

    void del(Long id);

    List<DiariesVo> selectByIds(List<Long> diariesIdList);

    List<Diaries> selectByUserId(Long userId);
}
